Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Functions That Modify Movie Properties / Working With Movie User Data


DisposeUserData

The DisposeUserData function disposes of a user data structure created by the NewUserData function.

pascal OSErr DisposeUserData (UserData theUserData);
theUserData

Specifies the user data structure that is to be disposed of. It is acceptable but unnecessary to pass nil in the parameter theUserData.
DESCRIPTION
You should call DisposeUserData only on a user data structure that you
have allocated.

SPECIAL CONSIDERATIONS
Don't dispose of user data references obtained from the Movie Toolbox function GetMovieUserData, GetTrackUserData, or GetMediaUserData (described on page 2-215, page 2-216, and page 2-217, respectively).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996